<?php
/**
 * The following variables are available in this template:
 * - $this: the BootCrudCode object
 */

/** @var AweCrudCode $this  */
?>
<?php echo "<?php\n" ?>
/** @var <?php echo $this->controllerClass; ?> $this */
/** @var <?php echo $this->modelClass; ?> $model */
<?php
$nameColumn=$this->guessNameColumn($this->tableSchema->columns);
$label=$this->pluralize($this->class2name($this->modelClass));
?>

$this->menu=array(
array('label' => Yii::t('AweCrud.app', 'Manage'),'icon' => 'icon-list', 'url' => array('admin'),'itemOptions' => array('class' => 'icon-4x pull-left icon-border')),	
);
?>
<?php echo "<?php\n" ?>
$this->beginWidget(
        'bootstrap.widgets.TbBox', array(
    'title' => <?php echo "Yii::t('AweCrud.app', 'Update') . ' ' . {$this->modelClass}::label()" ?>,
    'headerIcon' => 'icon-pencil',
        )
);
<?php echo "?>\n" ?>
<?php echo "<?php echo \$this->renderPartial('_form', array('model' => \$model)); ?>" . PHP_EOL; ?>
<?php echo "<?php \$this->endWidget(); ?>\n" ?>
